package IMIC.DOTHEVINH.OOP.EXERCISES.LEVEL02.EXP4;

public class Models {
	public double Area(RectangleEntity rectangleEntity) {
		return rectangleEntity.getHeight() * rectangleEntity.getWidth();
		
		
	}
	public double Perimeter(RectangleEntity rectangleEntity) {
		return (rectangleEntity.getHeight() + rectangleEntity.getWidth())*2;
	}
	public String Color(RectangleEntity rectangleEntity) {
		return rectangleEntity.getColor();
		
	}

}
